package com.softeem.oop.extend;

public class ExtendsTest {

	public static void main(String[] args) {
		Son s = new Son();
		s.hasHouse();
		s.hasCar();
//		s.hasComp();
//		s.sport();
		
		Father f = new Father();
		f.hasCar();
	}
}
